<?php
namespace app\admin\controller;
use think\Controller;
use think\Db;
class Whatt extends Controller{

    public function oldindex(){
     
        $where = [];

           
            if(input('status') !=''){
                $where['status'] = input('status');
            }
 

        $list = Db::name('withdraw')->where($where)->paginates(15,false,['query'=>request()->get()]);

        $pager = $list->render();

		$this->assign('list', $list);
		$this->assign('pager', $pager);
		
		return $this->fetch();
    }




}